CC=gcc
CFLAGS=-Wall

all: generator.c tester.c
	$(CC) $(CFLAGS) -o generator.o generator.c
	$(CC) $(CFLAGS) -o tester.o tester.c
test: generator.c tester.c
	$(CC) $(CFLAGS) -o generator.o generator.c
	$(CC) $(CFLAGS) -o tester.o tester.c
	./generator.o fifo 20
clean:
	@rm -f *.o *~ fifo
	
.PHONY: all clean test
